﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using MaxStudio.Concrete.Web;
using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server;
using MaxStudio.Concrete.Server.Service;
using MaxStudio.Concrete.Server.Dao;
using System.Configuration;

namespace MaxStudio.Concrete.Web.Pages
{
    public partial class RPTPhysicalPropertiesOfementTest : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BindGridView();
            }
        }
        #region Private Method

        private void BindGridView()
        {
            RPTPhysicalPropertiesOfementTestService RPTPhysicalPropertiesOfementTestServiceObj = ServiceFactory.getRPTPhysicalPropertiesOfementTestService();
            OperationResult<List<tb_RPT_PhysicalPropertiesOfementTest>> result = RPTPhysicalPropertiesOfementTestServiceObj.GetAllPhysicalPropertiesOfementTest();

            if (result.operationSuccess)
            {
                gvPhysicalPropertiesOfementTestList.DataSource = result.obj;
                gvPhysicalPropertiesOfementTestList.DataBind();
            }
            else
            {
                //EXCEPTION
                //return null;
            }
        }

        private void BindEdieDialog(int id)
        {
            RPTPhysicalPropertiesOfementTestService RPTPhysicalPropertiesOfementTestServiceObj = ServiceFactory.getRPTPhysicalPropertiesOfementTestService();
            OperationResult<tb_RPT_PhysicalPropertiesOfementTest> resultEdit = RPTPhysicalPropertiesOfementTestServiceObj.GetPhysicalPropertiesOfementTestById(id);

            if (resultEdit.operationSuccess == true)
            {
                txtEditTestDate.Text = resultEdit.obj.TestDate;
                txtEditCementManufacturer.Text = resultEdit.obj.CementManufacturer; 
                txtEditSamplingDate.Text = resultEdit.obj.SamplingDate;
                txtEditTestDate.Text = resultEdit.obj.TestDate;
                txtEditTestNumbers.Text = resultEdit.obj.TestNumbers;
                txtEditCementManufacturer.Text = resultEdit.obj.CementManufacturer;
                txtEditBatchNumber.Text = resultEdit.obj.BatchNumber;
                txtEditStrengthGrade.Text = resultEdit.obj.StrengthGrade;
                txtEditFSampleQuality.Text = resultEdit.obj.FSampleQuality;
                txtEditFResidueQuality.Text = resultEdit.obj.FResidueQuality;
                txtEditFfineness.Text = resultEdit.obj.Ffineness;
                txtEditSTANDSampleQuality.Text = resultEdit.obj.STANDSampleQuality;
                txtEditSTANDWater.Text = resultEdit.obj.STANDWater;
                txtEditSTANDConsistency.Text = resultEdit.obj.STANDConsistency;
                txtEditWaterStart.Text = resultEdit.obj.WaterStart;
                txtEditInitialOfArrival.Text = resultEdit.obj.InitialOfArrival;
                txtEditFinalOfArrival.Text = resultEdit.obj.FinalOfArrival;
                txtEditInitialSetting.Text = resultEdit.obj.InitialSetting;
                txtEditFinalSetting.Text = resultEdit.obj.FinalSetting;
                txtEditBoilBeforeA1.Text = resultEdit.obj.BoilBeforeA1;
                txtEditBoilAfterC1.Text = resultEdit.obj.BoilAfterC1;
                txtEditCA1.Text = resultEdit.obj.CA1;
                txtEditBoilBeforeA2.Text = resultEdit.obj.BoilBeforeA2;
                txtEditBoilAfterC2.Text = resultEdit.obj.BoilAfterC2;
                txtEditCA2.Text = resultEdit.obj.CA2;
                txtEditAverage.Text = resultEdit.obj.Average;
                txtEditFlexuralStrength1.Text = resultEdit.obj.FlexuralStrength1;
                txtEditFlexuralStrength2.Text = resultEdit.obj.FlexuralStrength2;
                txtEditFlexuralStrength3.Text = resultEdit.obj.FlexuralStrength3;
                txtEditTestAverage.Text = resultEdit.obj.TestAverage;
                txtEditFailureLoad1.Text = resultEdit.obj.FailureLoad1;
                txtEditFailureLoad2.Text = resultEdit.obj.FailureLoad2;
                txtEditFailureLoad3.Text = resultEdit.obj.FailureLoad3;
                txtEditFailureLoad4.Text = resultEdit.obj.FailureLoad4;
                txtEditFailureLoad5.Text = resultEdit.obj.FailureLoad5;
                txtEditFailureLoad6.Text = resultEdit.obj.FailureLoad6;
                txtEditCompressive1.Text = resultEdit.obj.Compressive1;
                txtEditCompressive2.Text = resultEdit.obj.Compressive2;
                txtEditCompressive3.Text = resultEdit.obj.Compressive3;
                txtEditCompressive4.Text = resultEdit.obj.Compressive4;
                txtEditCompressive5.Text = resultEdit.obj.Compressive5;
                txtEditCompressive6.Text = resultEdit.obj.Compressive6;
                txtEditAverageCompressive.Text = resultEdit.obj.AverageCompressive;
                txtEditTest3DFailureLoad1.Text = resultEdit.obj.Test3DFailureLoad1;
                txtEditTest3DFailureLoad2.Text = resultEdit.obj.Test3DFailureLoad2;
                txtEditTest3DFailureLoad3.Text = resultEdit.obj.Test3DFailureLoad3;
                txtEditTest28DFailureLoad1.Text = resultEdit.obj.Test28DFailureLoad1;
                txtEditTest28DFailureLoad2.Text = resultEdit.obj.Test28DFailureLoad2;
                txtEditTest28DFailureLoad3.Text = resultEdit.obj.Test28DFailureLoad3;
                txtEditTest3DCompressive1.Text = resultEdit.obj.Test3DCompressive1;
                txtEditTest3DCompressive2.Text = resultEdit.obj.Test3DCompressive2;
                txtEditTest3DCompressive3.Text = resultEdit.obj.Test3DCompressive3;
                txtEditTest28DCompressive1.Text = resultEdit.obj.Test28DCompressive1;
                txtEditTest28DCompressive2.Text = resultEdit.obj.Test28DCompressive2;
                txtEditTest28DCompressive3.Text = resultEdit.obj.Test28DCompressive3;
                txtEditFailureLoadAverage.Text = resultEdit.obj.FailureLoadAverage;
                txtEditCompressiveAverage.Text = resultEdit.obj.CompressiveAverage;
                txtEdit3DFailureLoad1.Text = resultEdit.obj._3DFailureLoad1;
                txtEdit3DFailureLoad2.Text = resultEdit.obj._3DFailureLoad2;
                txtEdit3DFailureLoad3.Text = resultEdit.obj._3DFailureLoad3;
                txtEdit3DFailureLoad4.Text = resultEdit.obj._3DFailureLoad4;
                txtEdit3DFailureLoad5.Text = resultEdit.obj._3DFailureLoad5;
                txtEdit3DFailureLoad6.Text = resultEdit.obj._3DFailureLoad6;
                txtEdit3DCompressive1.Text = resultEdit.obj._3DCompressive1;
                txtEdit3DCompressive2.Text = resultEdit.obj._3DCompressive2;
                txtEdit3DCompressive3.Text = resultEdit.obj._3DCompressive3;
                txtEdit3DCompressive4.Text = resultEdit.obj._3DCompressive4;
                txtEdit3DCompressive5.Text = resultEdit.obj._3DCompressive5;
                txtEdit3DCompressive6.Text = resultEdit.obj._3DCompressive6;
                txtEditTestDate3D.Text = resultEdit.obj.TestDate3D;
                txtEdit3d.Text = resultEdit.obj._3d;
                txtEdit3DAverage.Text = resultEdit.obj._3DAverage;
                txtEditTestDate28D.Text = resultEdit.obj.TestDate28D;
                txtEdit28d.Text = resultEdit.obj._28d;
                txtEdit28DFailureLoad1.Text = resultEdit.obj._28DFailureLoad1;
                txtEdit28DFailureLoad2.Text = resultEdit.obj._28DFailureLoad2;
                txtEdit28DFailureLoad3.Text = resultEdit.obj._28DFailureLoad3;
                txtEdit28DFailureLoad4.Text = resultEdit.obj._28DFailureLoad4;
                txtEdit28DFailureLoad5.Text = resultEdit.obj._28DFailureLoad5;
                txtEdit28DFailureLoad6.Text = resultEdit.obj._28DFailureLoad6;
                txtEdit28DCompressive1.Text = resultEdit.obj._28DCompressive1;
                txtEdit28DCompressive2.Text = resultEdit.obj._28DCompressive2;
                txtEdit28DCompressive3.Text = resultEdit.obj._28DCompressive3;
                txtEdit28DCompressive4.Text = resultEdit.obj._28DCompressive4;
                txtEdit28DCompressive5.Text = resultEdit.obj._28DCompressive5;
                txtEdit28DCompressive6.Text = resultEdit.obj._28DCompressive6;
                txtEdit28DAverage.Text = resultEdit.obj._28DAverage;
                txtEditResult.Text = resultEdit.obj.Result;
                txtEditTest.Text = resultEdit.obj.Test;
                txtEditCalculation.Text = resultEdit.obj.Calculation;
                txtEditApproval.Text = resultEdit.obj.Approval;  

                lbLastModier.Text = "TEST";
                lbEidtId.Text = resultEdit.obj.Id.ToString();
                lbLastModifyDate.Text = resultEdit.obj.ModifyDate.ToShortDateString();
            }
        }

        private void DeleteRecords(int id)
        {
            lbDeleteId.Text = id.ToString();
        }

        #endregion

        #region Event

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            RPTPhysicalPropertiesOfementTestService RPTPhysicalPropertiesOfementTestServiceObj = ServiceFactory.getRPTPhysicalPropertiesOfementTestService();
             tb_RPT_PhysicalPropertiesOfementTest instance = new tb_RPT_PhysicalPropertiesOfementTest();

            instance.TestDate = txtTestDate.Text;
            instance.TestDate= txtTestDate.Text;
            instance.CementManufacturer= txtCementManufacturer.Text;
            instance.SamplingDate= txtSamplingDate.Text;
            instance.TestDate= txtTestDate.Text;
            instance.TestNumbers= txtTestNumbers.Text;
            instance.CementManufacturer= txtCementManufacturer.Text;
            instance.BatchNumber= txtBatchNumber.Text;
            instance.StrengthGrade= txtStrengthGrade.Text;
            instance.FSampleQuality= txtFSampleQuality.Text;
            instance.FResidueQuality= txtFResidueQuality.Text;
            instance.Ffineness= txtFfineness.Text;
            instance.STANDSampleQuality= txtSTANDSampleQuality.Text;
            instance.STANDWater= txtSTANDWater.Text;
            instance.STANDConsistency= txtSTANDConsistency.Text;
            instance.WaterStart= txtWaterStart.Text;
            instance.InitialOfArrival= txtInitialOfArrival.Text;
            instance.FinalOfArrival= txtFinalOfArrival.Text;
            instance.InitialSetting= txtInitialSetting.Text;
            instance.FinalSetting= txtFinalSetting.Text;
            instance.BoilBeforeA1= txtBoilBeforeA1.Text;
            instance.BoilAfterC1= txtBoilAfterC1.Text;
            instance.CA1= txtCA1.Text;
            instance.BoilBeforeA2= txtBoilBeforeA2.Text;
            instance.BoilAfterC2= txtBoilAfterC2.Text;
            instance.CA2= txtCA2.Text;
            instance.Average= txtAverage.Text;
            instance.FlexuralStrength1= txtFlexuralStrength1.Text;
            instance.FlexuralStrength2= txtFlexuralStrength2.Text;
            instance.FlexuralStrength3= txtFlexuralStrength3.Text;
            instance.TestAverage= txtTestAverage.Text;
            instance.FailureLoad1= txtFailureLoad1.Text;
            instance.FailureLoad2= txtFailureLoad2.Text;
            instance.FailureLoad3= txtFailureLoad3.Text;
            instance.FailureLoad4= txtFailureLoad4.Text;
            instance.FailureLoad5= txtFailureLoad5.Text;
            instance.FailureLoad6= txtFailureLoad6.Text;
            instance.Compressive1= txtCompressive1.Text;
            instance.Compressive2= txtCompressive2.Text;
            instance.Compressive3= txtCompressive3.Text;
            instance.Compressive4= txtCompressive4.Text;
            instance.Compressive5= txtCompressive5.Text;
            instance.Compressive6= txtCompressive6.Text;
            instance.AverageCompressive= txtAverageCompressive.Text;
            instance.Test3DFailureLoad1= txtTest3DFailureLoad1.Text;
            instance.Test3DFailureLoad2= txtTest3DFailureLoad2.Text;
            instance.Test3DFailureLoad3= txtTest3DFailureLoad3.Text;
            instance.Test28DFailureLoad1= txtTest28DFailureLoad1.Text;
            instance.Test28DFailureLoad2= txtTest28DFailureLoad2.Text;
            instance.Test28DFailureLoad3= txtTest28DFailureLoad3.Text;
            instance.Test3DCompressive1= txtTest3DCompressive1.Text;
            instance.Test3DCompressive2= txtTest3DCompressive2.Text;
            instance.Test3DCompressive3= txtTest3DCompressive3.Text;
            instance.Test28DCompressive1= txtTest28DCompressive1.Text;
            instance.Test28DCompressive2= txtTest28DCompressive2.Text;
            instance.Test28DCompressive3= txtTest28DCompressive3.Text;
            instance.FailureLoadAverage= txtFailureLoadAverage.Text;
            instance.CompressiveAverage= txtCompressiveAverage.Text;
            instance._3DFailureLoad1= txt3DFailureLoad1.Text;
            instance._3DFailureLoad2= txt3DFailureLoad2.Text;
            instance._3DFailureLoad3= txt3DFailureLoad3.Text;
            instance._3DFailureLoad4= txt3DFailureLoad4.Text;
            instance._3DFailureLoad5= txt3DFailureLoad5.Text;
            instance._3DFailureLoad6= txt3DFailureLoad6.Text;
            instance._3DCompressive1= txt3DCompressive1.Text;
            instance._3DCompressive2= txt3DCompressive2.Text;
            instance._3DCompressive3= txt3DCompressive3.Text;
            instance._3DCompressive4= txt3DCompressive4.Text;
            instance._3DCompressive5= txt3DCompressive5.Text;
            instance._3DCompressive6= txt3DCompressive6.Text;
            instance.TestDate3D= txtTestDate3D.Text;
            instance._3d= txt3d.Text;
            instance._3DAverage= txt3DAverage.Text;
            instance.TestDate28D= txtTestDate28D.Text;
            instance._28d= txt28d.Text;
            instance._28DFailureLoad1= txt28DFailureLoad1.Text;
            instance._28DFailureLoad2= txt28DFailureLoad2.Text;
            instance._28DFailureLoad3= txt28DFailureLoad3.Text;
            instance._28DFailureLoad4= txt28DFailureLoad4.Text;
            instance._28DFailureLoad5= txt28DFailureLoad5.Text;
            instance._28DFailureLoad6= txt28DFailureLoad6.Text;
            instance._28DCompressive1= txt28DCompressive1.Text;
            instance._28DCompressive2= txt28DCompressive2.Text;
            instance._28DCompressive3= txt28DCompressive3.Text;
            instance._28DCompressive4= txt28DCompressive4.Text;
            instance._28DCompressive5= txt28DCompressive5.Text;
            instance._28DCompressive6= txt28DCompressive6.Text;
            instance._28DAverage = txt28DAverage.Text;
            instance.Result= txtResult.Text;
            instance.Test= txtTest.Text;
            instance.Calculation= txtCalculation.Text;
            instance.Approval= txtApproval.Text;

            OperationResult<tb_RPT_PhysicalPropertiesOfementTest> result = RPTPhysicalPropertiesOfementTestServiceObj.CreatePhysicalPropertiesOfementTest(instance);
            BindGridView();

        }
        protected void btnEdit_Click(object sender, EventArgs e)
        {
            int editId = 0;
            if (lbEidtId.Text.Length > 0)
            {
                editId = Int32.Parse(lbEidtId.Text);
            }

            RPTPhysicalPropertiesOfementTestService RPTPhysicalPropertiesOfementTestServiceObj = ServiceFactory.getRPTPhysicalPropertiesOfementTestService();
            tb_RPT_PhysicalPropertiesOfementTest entity = new tb_RPT_PhysicalPropertiesOfementTest();

            entity.Id = editId;
            entity.TestDate = txtEditTestDate.Text;
            entity.TestDate = txtEditTestDate.Text;
            entity.CementManufacturer = txtEditCementManufacturer.Text;
            entity.SamplingDate = txtEditSamplingDate.Text;
            entity.TestDate = txtEditTestDate.Text;
            entity.TestNumbers = txtEditTestNumbers.Text;
            entity.CementManufacturer = txtEditCementManufacturer.Text;
            entity.BatchNumber = txtEditBatchNumber.Text;
            entity.StrengthGrade = txtEditStrengthGrade.Text;
            entity.FSampleQuality = txtEditFSampleQuality.Text;
            entity.FResidueQuality = txtEditFResidueQuality.Text;
            entity.Ffineness = txtEditFfineness.Text;
            entity.STANDSampleQuality = txtEditSTANDSampleQuality.Text;
            entity.STANDWater = txtEditSTANDWater.Text;
            entity.STANDConsistency = txtEditSTANDConsistency.Text;
            entity.WaterStart = txtEditWaterStart.Text;
            entity.InitialOfArrival = txtEditInitialOfArrival.Text;
            entity.FinalOfArrival = txtEditFinalOfArrival.Text;
            entity.InitialSetting = txtEditInitialSetting.Text;
            entity.FinalSetting = txtEditFinalSetting.Text;
            entity.BoilBeforeA1 = txtEditBoilBeforeA1.Text;
            entity.BoilAfterC1 = txtEditBoilAfterC1.Text;
            entity.CA1 = txtEditCA1.Text;
            entity.BoilBeforeA2 = txtEditBoilBeforeA2.Text;
            entity.BoilAfterC2 = txtEditBoilAfterC2.Text;
            entity.CA2 = txtEditCA2.Text;
            entity.Average = txtEditAverage.Text;
            entity.FlexuralStrength1 = txtEditFlexuralStrength1.Text;
            entity.FlexuralStrength2 = txtEditFlexuralStrength2.Text;
            entity.FlexuralStrength3 = txtEditFlexuralStrength3.Text;
            entity.TestAverage = txtEditTestAverage.Text;
            entity.FailureLoad1 = txtEditFailureLoad1.Text;
            entity.FailureLoad2 = txtEditFailureLoad2.Text;
            entity.FailureLoad3 = txtEditFailureLoad3.Text;
            entity.FailureLoad4 = txtEditFailureLoad4.Text;
            entity.FailureLoad5 = txtEditFailureLoad5.Text;
            entity.FailureLoad6 = txtEditFailureLoad6.Text;
            entity.Compressive1 = txtEditCompressive1.Text;
            entity.Compressive2 = txtEditCompressive2.Text;
            entity.Compressive3 = txtEditCompressive3.Text;
            entity.Compressive4 = txtEditCompressive4.Text;
            entity.Compressive5 = txtEditCompressive5.Text;
            entity.Compressive6 = txtEditCompressive6.Text;
            entity.AverageCompressive = txtEditAverageCompressive.Text;
            entity.Test3DFailureLoad1 = txtEditTest3DFailureLoad1.Text;
            entity.Test3DFailureLoad2 = txtEditTest3DFailureLoad2.Text;
            entity.Test3DFailureLoad3 = txtEditTest3DFailureLoad3.Text;
            entity.Test28DFailureLoad1 = txtEditTest28DFailureLoad1.Text;
            entity.Test28DFailureLoad2 = txtEditTest28DFailureLoad2.Text;
            entity.Test28DFailureLoad3 = txtEditTest28DFailureLoad3.Text;
            entity.Test3DCompressive1 = txtEditTest3DCompressive1.Text;
            entity.Test3DCompressive2 = txtEditTest3DCompressive2.Text;
            entity.Test3DCompressive3 = txtEditTest3DCompressive3.Text;
            entity.Test28DCompressive1 = txtEditTest28DCompressive1.Text;
            entity.Test28DCompressive2 = txtEditTest28DCompressive2.Text;
            entity.Test28DCompressive3 = txtEditTest28DCompressive3.Text;
            entity.FailureLoadAverage = txtEditFailureLoadAverage.Text;
            entity.CompressiveAverage = txtEditCompressiveAverage.Text;
            entity._3DFailureLoad1 = txtEdit3DFailureLoad1.Text;
            entity._3DFailureLoad2 = txtEdit3DFailureLoad2.Text;
            entity._3DFailureLoad3 = txtEdit3DFailureLoad3.Text;
            entity._3DFailureLoad4 = txtEdit3DFailureLoad4.Text;
            entity._3DFailureLoad5 = txtEdit3DFailureLoad5.Text;
            entity._3DFailureLoad6 = txtEdit3DFailureLoad6.Text;
            entity._3DCompressive1 = txtEdit3DCompressive1.Text;
            entity._3DCompressive2 = txtEdit3DCompressive2.Text;
            entity._3DCompressive3 = txtEdit3DCompressive3.Text;
            entity._3DCompressive4 = txtEdit3DCompressive4.Text;
            entity._3DCompressive5 = txtEdit3DCompressive5.Text;
            entity._3DCompressive6 = txtEdit3DCompressive6.Text;
            entity.TestDate3D = txtEditTestDate3D.Text;
            entity._3d = txtEdit3d.Text;
            entity._3DAverage = txtEdit3DAverage.Text;
            entity.TestDate28D = txtEditTestDate28D.Text;
            entity._28d = txtEdit28d.Text;
            entity._28DFailureLoad1 = txtEdit28DFailureLoad1.Text;
            entity._28DFailureLoad2 = txtEdit28DFailureLoad2.Text;
            entity._28DFailureLoad3 = txtEdit28DFailureLoad3.Text;
            entity._28DFailureLoad4 = txtEdit28DFailureLoad4.Text;
            entity._28DFailureLoad5 = txtEdit28DFailureLoad5.Text;
            entity._28DFailureLoad6 = txtEdit28DFailureLoad6.Text;
            entity._28DCompressive1 = txtEdit28DCompressive1.Text;
            entity._28DCompressive2 = txtEdit28DCompressive2.Text;
            entity._28DCompressive3 = txtEdit28DCompressive3.Text;
            entity._28DCompressive4 = txtEdit28DCompressive4.Text;
            entity._28DCompressive5 = txtEdit28DCompressive5.Text;
            entity._28DCompressive6 = txtEdit28DCompressive6.Text;
            entity._28DAverage = txtEdit28DAverage.Text;
            entity.Result = txtEditResult.Text;
            entity.Test = txtEditTest.Text;
            entity.Calculation = txtEditCalculation.Text;
            entity.Approval = txtEditApproval.Text;

            entity.ModifyDate = DateTime.Now;
            entity.ModifyBy = 1;
            entity.CreateDate = DateTime.Now;

            OperationResult<tb_RPT_PhysicalPropertiesOfementTest> resultEdit = RPTPhysicalPropertiesOfementTestServiceObj.ModifyPhysicalPropertiesOfementTest(entity);
            BindGridView();
        }

        protected void btnDelete_Click(object sender, EventArgs e)
        {
            int deleteId = Int32.Parse(lbDeleteId.Text);
            RPTPhysicalPropertiesOfementTestService RPTPhysicalPropertiesOfementTestServiceObj = ServiceFactory.getRPTPhysicalPropertiesOfementTestService();
            tb_RPT_PhysicalPropertiesOfementTest deleteEntity = new tb_RPT_PhysicalPropertiesOfementTest();

            deleteEntity.Id = deleteId;
            RPTPhysicalPropertiesOfementTestServiceObj.DeletePhysicalPropertiesOfementTest(deleteEntity);

            BindGridView();
        }

        protected void gvPhysicalPropertiesOfementTestList_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "Select")
            {
                string strSelectId = e.CommandArgument.ToString();
                BindEdieDialog(Int32.Parse(strSelectId));
            }

            if (e.CommandName == "del")
            {
                string strSelectId = e.CommandArgument.ToString();
                DeleteRecords(Int32.Parse(strSelectId));
            }
        }

        protected void gvPhysicalPropertiesOfementTestList_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            gvPhysicalPropertiesOfementTestList.PageIndex = e.NewPageIndex;
            BindGridView();
        }
        #endregion
    }
}
